import { HttpException } from "@nestjs/common";


export class ApiException extends HttpException {
    constructor(msg: string, code: string = "500") {
        super({code:code,msg:msg}, 200)
    }
}